<{include file="header.html"}>
<{include file="top.html"}>
<div class="h_980 clearfix">    
            <div class="FosfMain">
            <div class="page_dh"><a class="location-home" href="<{spUrl c=main a=index}>"></a> <a href="<{spUrl c=main a=Account}>"><{T w='My Account'}></a> <{T w='NavigationJGF'}> <{$title}></div>
            <div id="addressBookDefault">
            
            <h1 id="addressBookDefaultHeading"><{T w='My Personal Address Book'}></h1>
            
            <h2 id="addressBookDefaultPrimary"><{T w='Primary Address'}></h2>
            <address class="back"><{$add.customers_firstname}> <{$add.customers_lastname}><br /> <{$add.entry_street_address}><{if $add.entry_suburb neq ''}><br /> <{$add.entry_suburb}><{/if}> <br /> <{$add.entry_city}>, <{$add.entry_postcode}><br /> <{$add.entry_state}>, <{$add.entry_country_id}><br /> <{$add.customers_telephone}></address>
            <br class="clear" />
            <div class="alert"><{T w='Primary AddressTIP'}></div>
            <br class="clear" />
            
            <fieldset>
            <legend><{T w='Address Book Entries'}></legend>
            <div class="alert forward"><span class="coming"><strong><{T w='NOTE:'}></strong></span> <{T w='A maximum of 5 address book entries allowed.'}></div>
            <{foreach item=item key=key from=$addarr}>
            <br class="clear" />
            <h3 class="addressBookDefaultName"><{$item.customers_firstname}> <{$item.customers_lastname}><{if $user.customers_default_address_id eq $item.address_book_id}>&nbsp;(<{T w='Primary Address'}>)<{/if}></h3>
            
            <address><{$item.customers_firstname}> <{$item.customers_lastname}><br /> <{$item.entry_street_address}><{if $item.entry_suburb neq ''}><br /> <{$item.entry_suburb}><{/if}> <br /> <{$item.entry_city}>, <{$item.entry_postcode}><br /> <{$item.entry_state}>, <{$item.entry_country_id}><br /> <{$item.customers_telephone}></address>
            
            <div class="buttonRow forward"><a href="<{spUrl c=main a=AddressBookProcess}>?edit=<{$item.address_book_id}>"><img src="<{$smarty.const.BASEPATH}>/css/img/small_edit.gif" alt="<{T w='Edit'}>" title=" <{T w='Edit'}> " /></a> <a href="<{spUrl c=main a=AddressBookProcess}>?delete=<{$item.address_book_id}>"><img src="<{$smarty.const.BASEPATH}>/css/img/button_delete_small.gif" alt="<{T w='Delete'}>" title=" <{T w='Delete'}> " /></a></div>
            <{/foreach}>
            <br class="clear" />
            </fieldset>
            
               <div class="buttonRow forward"><a href="<{spUrl c=main a=AddressBookProcess}>"><img src="<{$smarty.const.BASEPATH}>/css/img/button_add_address.gif" alt="<{T w='Add Address'}>" title=" <{T w='Add Address'}> " /></a></div>
            <div class="buttonRow back"><a href="<{spUrl c=main a=Account}>"><img src="<{$smarty.const.BASEPATH}>/css/img/button_back.gif" alt="<{T w='Back'}>" title=" <{T w='Back'}> "/></a></div>
            <br class="clear" />
            </div>
    </div>
    
</div>  
<{include file="footer.html"}>
</body>
</html>